//===== eAthena Script ======================================= 
//= Brondy Quest - Ramen Hat
//===== by: ================================================== 
//= Rehael
//= v1.0
//= v1.1 Forgot semi colons

payon,198,260,3	script	Brondy	968,{
 	set .@NPCName$, "[^FFFF33Brondy^000000]";
	set .@cost, 2000000;

	mes .@NPCName$;
	mes "I don't look like it, but a great";
	mes "chef taught me how to make a";
	mes "great condensed hat. A hat that";
	mes "is said to be able to provide its";
	mes "user a superb dexterity.";
	next;
	mes .@NPCName$;
	mes "I, Brondy can make it!";
	mes "If you really want this superb soup, get to work!";
	next;
	switch(select("Oh Please make it!!:I'll manage with an apple:Cancel"))
	{
 		case 1:
			mes .@NPCName$;
			mes "Here's what I need :";
			mes "";
			mes " 1 ^FF0000Zerom Card^000000 ";
			mes " 10 ^FF0000Matchstick^000000 ";
			mes " 100 ^FF0000Fluorescent Liquid^000000 ";
			mes " 500 ^FF0000Bitter Herb^000000 ";
			mes "  ^FF0000200,0000 Zeny^000000";
			next;
			if( countitem(4064) < 1 || countitem(7326) < 100 || countitem(7035) < 10 || countitem(621) < 500 ||
			    Zeny < .@cost )
			{
				mes .@NPCName$;
				mes "I'm sorry, but you don't have all";
				mes "the required items. Get them and we'll talk some more.";
				close;
			}
			mes .@NPCName$;
			mes "Great, Give me a minute.";
			mes "*mumbles*";
			mes "Here you go !";
			delitem 4064,1;
			delitem 7326,100;
			delitem 7035,10;
			delitem 621,500;
			set Zeny,Zeny-.@cost;
			getitem 5293,3;
			close;
		case 2:
			mes .@NPCName$;
			mes "Good luck with one less dex point :P";
			close;
		case 3:
			close;
	}

}

//============================================================
//===== Quest by Reha-Chan ===========================
//============================================================